﻿namespace Fabrication.ValueProviders
{
    internal class SequentialNamingProvider : ValueProviderBase<string>
    {
        private int count;

        protected override string GetValue(object item)
        {
            count++;
            return Property.Name + count;
        }
    }
}